package com.linxianqin.aop.controller;

import com.linxianqin.aop.annotion.TestAop;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 功能描述：
 *
 * @author lxq
 * @version 1.00
 * @Date 2020/12/11
 */
@Slf4j
@RestController
public class TestAopController {


    @GetMapping("/testAop")
    @TestAop(desc = "testAop")
    public Object second() {
        log.info("testAop");
        return "testAop controller";
    }

}
